package com.adminex.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.adminex.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
//    @Select("select * from user where id = #{id}")
//    public User findById(int id);

//    public int InsertUser(User user);
    User selectOneByUsername(@Param("username") String username);
}
